package com.springclouddemo.demo.FeignInterface;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("eureka-client-mul")
public interface Dcclient {
    /**
     * 绑定服务提供方，设置对应的接口即可在本地调用，类似于调用本地方法
     * */
    @RequestMapping("/client/dc")
    String cosumeFeign();
}
